package com.longjianghuasheng.logistics.business.grab_an_order

import android.annotation.SuppressLint
import android.graphics.Typeface
import android.os.Bundle
import com.longjianghuasheng.logistics.R
import com.longjianghuasheng.logistics.base.BaseFragment
import com.longjianghuasheng.logistics.databinding.FragmentGrabAnOrderBinding
import java.lang.Deprecated

@Deprecated
class GrabAnOrderFragment : BaseFragment<GrabAnOrderViewModel, FragmentGrabAnOrderBinding>() {

    override fun layoutId(): Int = R.layout.fragment_grab_an_order

    override fun initView(savedInstanceState: Bundle?) {
        initTitleBar()

    }

    @SuppressLint("NewApi", "UseCompatTextViewDrawableApis")
    private fun initTitleBar() {
        mDatabind.include.titleBar.run {

            disableLeftView()

            setTitle("抢单大厅").centerText.typeface = Typeface.defaultFromStyle(Typeface.BOLD)


        }
    }

    override fun createObserver() {
        super.createObserver()
    }

    override fun initData() {
        super.initData()
    }

    override fun lazyLoadData() {
        super.lazyLoadData()
    }

    override fun onResume() {
        super.onResume()
    }


}